#ifndef WIDGET_H
#define WIDGET_H

#include <QWidget>
#include <QSlider>
#include <QLabel>

QT_BEGIN_NAMESPACE
namespace Ui { class Widget; }
QT_END_NAMESPACE

class Widget : public QWidget
{
    Q_OBJECT

public:
    Widget(QWidget *parent = nullptr);
    ~Widget();
    void handler1(int value);
    void handler2(int value);

    void handler3(int value);
    void add();
    void sub();

private:
    Ui::Widget *ui;
    QSlider *slider1;
    QSlider *slider2;

    QSlider *slider3;
    QLabel *label;
};
#endif // WIDGET_H
